import { Button, Result } from 'antd'

export default function Custom404() {
  return (
    <main>
      <Result
        status="404"
        title="404"
        subTitle="Sorry, the page you visited does not exist."
        extra={
          <Button
            type="primary"
            onClick={() => {
              window.location.replace('/')
            }}
          >
            {' '}
            Back Home
          </Button>
        }
      />
    </main>
  )
}
